/**
 * Created by Dzl on 2017-1-16.
 */


import Vue from 'vue';
import VueRouter from 'vue-router';


Vue.use(VueRouter);


const routes = [
    {
        name: 'home',
        path: '/',
        component: require('../app.vue')
        , children: [
            {path: '', component: require('../pages/list.vue')},
            {path: '/doc/:id', component: require('../pages/doc-01.vue')}
        ]
    }
];


export default routes
